Utility.regexpEncode Method
Encodes regular expression special characters in a string so that its exact value will be matched in a
regular expression.
Parameters
- regexp
-
Type: String
Text that can contain regular expression special characters.
Return Value
Type: String
The parameter with special characters preceded by an escape character.